package com.ruoyi.project.test.rule;

public class ElectricCar implements Car{
    @Override
    public void run() {
        System.out.println("electric car run");
    }
    Color color;
    public Color getColor() {
        return color;
    }
    public void setColor(Color color) {
        this.color = color;
    }
}
